package com.jinsp.componentrouter.service;

import android.app.Service;
import android.content.Intent;
import android.os.IBinder;

import com.jinsp.componentrouter.Test;
import com.jinsp.router_annotation.IntentParameter;
import com.jinsp.router_annotation.RegisterRouter;

@RegisterRouter(group = "app", path = "app/TestService")
public class TestService extends Service {

    @IntentParameter
    int age;
    @IntentParameter
    Test tt;

    public TestService() {
    }

    @Override
    public IBinder onBind(Intent intent) {
        // TODO: Return the communication channel to the service.
        throw new UnsupportedOperationException("Not yet implemented");
    }

    @Override
    public int onStartCommand(Intent intent, int flags, int startId) {
        return super.onStartCommand(intent, flags, startId);
    }
}